package com.the_last.pojo.dto;

import cn.idev.excel.annotation.ExcelIgnore;
import cn.idev.excel.annotation.ExcelProperty;
import lombok.Data;

/**
 * 商品导出DTO
 */
@Data
public class ProductExportDTO {
    
    @ExcelIgnore
    private String id;
    
    @ExcelProperty(value = "商品名称", index = 0)
    private String name;
    
    @ExcelIgnore
    private String categoryId;
    
    @ExcelIgnore
    private String categoryName;
    
    @ExcelProperty(value = "当前价格", index = 1)
    private String currentPrice;
    
    @ExcelProperty(value = "库存数量", index = 2)
    private String stock;
    
    @ExcelProperty(value = "销量", index = 3)
    private String sales;
    
    @ExcelIgnore
    private String imageUrl;
}